package br.gov.mi.corporativo.dominio.boundary.comum.uf;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;

import br.gov.mi.corporativo.dominio.entidade.comum.Uf;

@WebService
public interface UfEndPoint {

    @WebMethod(operationName = "listarTodasUf")
    public @WebResult(name="listaUf") List<Uf> recuperarTodos();
	
    
    @WebMethod(operationName = "recuperarUfPorId")
    public @WebResult(name="uf") Uf recuperarPorId(@WebParam(name="id") Long id);
    
    @WebMethod(operationName = "recuperarUfPorSigla")
    public @WebResult(name="uf") Uf recuperarPorSigla(@WebParam(name="sigla") String sigla);
    
    @WebMethod(operationName = "recuperarUfPorNome")
    public @WebResult(name="uf") Uf recuperarPorNome(@WebParam(name="nome") String nome);
	
}
